<!doctype html>
<html lang="en">
<head>
    <title>Dialog - Overview</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="description" content="Overview" />
    <meta name="keywords" content="" />
    <meta name="author" content="ComponentOne" />
    <link href="../base-reset.css" rel="stylesheet" type="text/css" />
    <link href="../../themes/aristo/jquery-ui-1.8.4.custom.css" rel="stylesheet"
        type="text/css" />
    <link href="../../themes/wijmo/jquery.ui.wijdialog.css" rel="stylesheet" type="text/css" />
    <link href="../demos-single.css" rel="stylesheet" type="text/css" />
    <script src="../../external/jquery-1.4.3.min.js" type="text/javascript"></script>
    <script src="../../external/jquery-ui-1.8.6.custom.min.js" type="text/javascript"></script>
    <script src="../../wijmo/jquery.ui.wijutil.js" type="text/javascript"></script>
    <script src="../../wijmo/jquery.ui.wijdialog.js" type="text/javascript"></script>
    <script id="scriptInit" type="text/javascript">
        $(function () {
            $(":ui-wijdialog").wijdialog("destroy").remove();
            $('#dialog').wijdialog({
                autoOpen: true,
                captionButtons: {
                    refresh: { visible: false }
                }
            });

            $('#opener').click(function () {
                $('#dialog').dialog('open');
                return false;
            });
        });
    </script>
</head>
<body class="demo-single">
    <div class="container">
        <div class="header">
            <h2>
                Dialog - Overview</h2>
        </div>
        <div class="main demo">
            <!-- Begin demo markup -->
            <div>
                <input type="button" value="Hide Dialog" onclick="$('#dialog').wijdialog('close')" />
                <input type="button" value="Show Dialog" onclick="$('#dialog').wijdialog('open')" />
                <div id="dialog" title="Basic dialog">
                    <p>
                        This is the default dialog which is useful for displaying information. The dialog
                        window can be moved, resized and closed with the 'x' icon.</p>
                </div>
            </div>
            <!-- End demo markup -->
            <div class="demo-options">
                <!-- Begin options markup -->
                <!-- End options markup -->
            </div>
        </div>
        <div class="footer demo-description">
            <p></p>
        </div>
    </div>
</body>
</html>
